package com.carnation;

import java.util.HashMap;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentHashMap;

public class Test {

    public static void main(String[] args) throws InterruptedException {
        HashMap map = new HashMap();
        map.put(null, null);
        map.put("", "");
        System.out.println(map);

        ConcurrentHashMap map1 = new ConcurrentHashMap();
        map1.put(null, null);
        map1.get("1");
        System.out.println(map1);

        BlockingQueue queue = new ArrayBlockingQueue(10);
        queue.put(1);
    }

}
